<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>使用 ES6 规范编写组合式 Vue3 体验程序</title>
</head>
<body>
<div id="root">
  <h1>Hello, World!</h1>
  <h1>{{ message }}</h1>
</div>

<script type="module">
    import {createApp} from "../../../../js/vue.esm-browser.js";

    const app = createApp({
        setup(){
            return {
                message: "Hello, World!",
            }
        }
    })

    app.mount("#root")
</script>
</body>
</html>